# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'C:\Users\Роман\Desktop\db\GUI\main_window.ui'
#
# Created: Fri Aug  2 02:25:23 2013
#      by: pyside-uic 0.2.14 running on PySide 1.2.0
#
# WARNING! All changes made in this file will be lost!

from PySide import QtCore, QtGui

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(640, 480)
        MainWindow.setMinimumSize(QtCore.QSize(640, 480))
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.gridLayout = QtGui.QGridLayout(self.centralwidget)
        self.gridLayout.setObjectName("gridLayout")
        self.tabWidget = QtGui.QTabWidget(self.centralwidget)
        self.tabWidget.setEnabled(False)
        self.tabWidget.setStyleSheet("")
        self.tabWidget.setObjectName("tabWidget")
        self.tabOrders = QtGui.QWidget()
        self.tabOrders.setObjectName("tabOrders")
        self.gridLayout_2 = QtGui.QGridLayout(self.tabOrders)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.tableOrders = QtGui.QTableWidget(self.tabOrders)
        self.tableOrders.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
        self.tableOrders.setSelectionMode(QtGui.QAbstractItemView.SingleSelection)
        self.tableOrders.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.tableOrders.setObjectName("tableOrders")
        self.tableOrders.setColumnCount(0)
        self.tableOrders.setRowCount(0)
        self.tableOrders.horizontalHeader().setCascadingSectionResizes(True)
        self.tableOrders.horizontalHeader().setStretchLastSection(True)
        self.gridLayout_2.addWidget(self.tableOrders, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabOrders, "")
        self.tabClients = QtGui.QWidget()
        self.tabClients.setObjectName("tabClients")
        self.gridLayout_4 = QtGui.QGridLayout(self.tabClients)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.tableClients = QtGui.QTableWidget(self.tabClients)
        self.tableClients.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
        self.tableClients.setSelectionMode(QtGui.QAbstractItemView.SingleSelection)
        self.tableClients.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.tableClients.setObjectName("tableClients")
        self.tableClients.setColumnCount(0)
        self.tableClients.setRowCount(0)
        self.tableClients.horizontalHeader().setCascadingSectionResizes(True)
        self.tableClients.horizontalHeader().setStretchLastSection(True)
        self.gridLayout_4.addWidget(self.tableClients, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabClients, "")
        self.tabGoods = QtGui.QWidget()
        self.tabGoods.setObjectName("tabGoods")
        self.gridLayout_3 = QtGui.QGridLayout(self.tabGoods)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.tableGoods = QtGui.QTableWidget(self.tabGoods)
        self.tableGoods.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
        self.tableGoods.setSelectionMode(QtGui.QAbstractItemView.SingleSelection)
        self.tableGoods.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.tableGoods.setObjectName("tableGoods")
        self.tableGoods.setColumnCount(0)
        self.tableGoods.setRowCount(0)
        self.tableGoods.horizontalHeader().setCascadingSectionResizes(True)
        self.tableGoods.horizontalHeader().setStretchLastSection(True)
        self.gridLayout_3.addWidget(self.tableGoods, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabGoods, "")
        self.tabProviders = QtGui.QWidget()
        self.tabProviders.setObjectName("tabProviders")
        self.gridLayout_5 = QtGui.QGridLayout(self.tabProviders)
        self.gridLayout_5.setObjectName("gridLayout_5")
        self.tableProviders = QtGui.QTableWidget(self.tabProviders)
        self.tableProviders.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
        self.tableProviders.setSelectionMode(QtGui.QAbstractItemView.SingleSelection)
        self.tableProviders.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.tableProviders.setObjectName("tableProviders")
        self.tableProviders.setColumnCount(0)
        self.tableProviders.setRowCount(0)
        self.tableProviders.horizontalHeader().setCascadingSectionResizes(True)
        self.tableProviders.horizontalHeader().setStretchLastSection(True)
        self.gridLayout_5.addWidget(self.tableProviders, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabProviders, "")
        self.gridLayout.addWidget(self.tabWidget, 0, 1, 1, 1)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 640, 21))
        self.menubar.setObjectName("menubar")
        self.menuDB = QtGui.QMenu(self.menubar)
        self.menuDB.setObjectName("menuDB")
        self.menuRecord = QtGui.QMenu(self.menubar)
        self.menuRecord.setEnabled(False)
        self.menuRecord.setObjectName("menuRecord")
        self.menuHelp = QtGui.QMenu(self.menubar)
        self.menuHelp.setEnabled(True)
        self.menuHelp.setObjectName("menuHelp")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)
        self.newDbAct = QtGui.QAction(MainWindow)
        self.newDbAct.setObjectName("newDbAct")
        self.openDbAct = QtGui.QAction(MainWindow)
        self.openDbAct.setObjectName("openDbAct")
        self.closeDbAct = QtGui.QAction(MainWindow)
        self.closeDbAct.setObjectName("closeDbAct")
        self.exitAct = QtGui.QAction(MainWindow)
        self.exitAct.setObjectName("exitAct")
        self.newRecordAct = QtGui.QAction(MainWindow)
        self.newRecordAct.setObjectName("newRecordAct")
        self.deleteRecordAct = QtGui.QAction(MainWindow)
        self.deleteRecordAct.setObjectName("deleteRecordAct")
        self.searchRecordAct = QtGui.QAction(MainWindow)
        self.searchRecordAct.setObjectName("searchRecordAct")
        self.helpAct = QtGui.QAction(MainWindow)
        self.helpAct.setObjectName("helpAct")
        self.aboutProgAct = QtGui.QAction(MainWindow)
        self.aboutProgAct.setObjectName("aboutProgAct")
        self.action_5 = QtGui.QAction(MainWindow)
        self.action_5.setObjectName("action_5")
        self.editRecordAct = QtGui.QAction(MainWindow)
        self.editRecordAct.setObjectName("editRecordAct")
        self.menuDB.addAction(self.newDbAct)
        self.menuDB.addAction(self.openDbAct)
        self.menuDB.addAction(self.closeDbAct)
        self.menuDB.addSeparator()
        self.menuDB.addAction(self.exitAct)
        self.menuRecord.addAction(self.newRecordAct)
        self.menuRecord.addAction(self.editRecordAct)
        self.menuRecord.addAction(self.deleteRecordAct)
        self.menuRecord.addSeparator()
        self.menuRecord.addAction(self.searchRecordAct)
        self.menuHelp.addAction(self.helpAct)
        self.menuHelp.addSeparator()
        self.menuHelp.addAction(self.aboutProgAct)
        self.menubar.addAction(self.menuDB.menuAction())
        self.menubar.addAction(self.menuRecord.menuAction())
        self.menubar.addAction(self.menuHelp.menuAction())

        self.retranslateUi(MainWindow)
        self.tabWidget.setCurrentIndex(1)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "База данных", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabOrders), QtGui.QApplication.translate("MainWindow", "Заказы", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabClients), QtGui.QApplication.translate("MainWindow", "Клиенты", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabGoods), QtGui.QApplication.translate("MainWindow", "Товары", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabProviders), QtGui.QApplication.translate("MainWindow", "Поставщики", None, QtGui.QApplication.UnicodeUTF8))
        self.menuDB.setTitle(QtGui.QApplication.translate("MainWindow", "База данных", None, QtGui.QApplication.UnicodeUTF8))
        self.menuRecord.setTitle(QtGui.QApplication.translate("MainWindow", "Запись", None, QtGui.QApplication.UnicodeUTF8))
        self.menuHelp.setTitle(QtGui.QApplication.translate("MainWindow", "Справка", None, QtGui.QApplication.UnicodeUTF8))
        self.newDbAct.setText(QtGui.QApplication.translate("MainWindow", "Создать ...", None, QtGui.QApplication.UnicodeUTF8))
        self.openDbAct.setText(QtGui.QApplication.translate("MainWindow", "Открыть ...", None, QtGui.QApplication.UnicodeUTF8))
        self.closeDbAct.setText(QtGui.QApplication.translate("MainWindow", "Закрыть", None, QtGui.QApplication.UnicodeUTF8))
        self.exitAct.setText(QtGui.QApplication.translate("MainWindow", "Выход", None, QtGui.QApplication.UnicodeUTF8))
        self.newRecordAct.setText(QtGui.QApplication.translate("MainWindow", "Создать новую ...", None, QtGui.QApplication.UnicodeUTF8))
        self.deleteRecordAct.setText(QtGui.QApplication.translate("MainWindow", "Удалить выбранную", None, QtGui.QApplication.UnicodeUTF8))
        self.searchRecordAct.setText(QtGui.QApplication.translate("MainWindow", "Поиск по критериям ...", None, QtGui.QApplication.UnicodeUTF8))
        self.helpAct.setText(QtGui.QApplication.translate("MainWindow", "Показать справку", None, QtGui.QApplication.UnicodeUTF8))
        self.aboutProgAct.setText(QtGui.QApplication.translate("MainWindow", "О программе", None, QtGui.QApplication.UnicodeUTF8))
        self.action_5.setText(QtGui.QApplication.translate("MainWindow", "Редактировать", None, QtGui.QApplication.UnicodeUTF8))
        self.editRecordAct.setText(QtGui.QApplication.translate("MainWindow", "Редактировать выбранную ...", None, QtGui.QApplication.UnicodeUTF8))

